package com.kingkim.electromechanical.usercenter.service;

import com.kingkim.electromechanical.commonutils.model.PageBean;
import com.kingkim.electromechanical.usercenter.model.po.Role;
import org.springframework.dao.DataAccessException;

import java.util.List;

public interface IRoleService {

    PageBean QueryForList(int currentPage, int pageSize, Role role) throws DataAccessException;

    int DeleteForList(List<String> ids) throws DataAccessException;

    int SaveOrModify(Role role)throws DataAccessException;
}
